package com.glory.dgcpcpda.entity;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: BinInfoEntity
 * Author: Along
 * Date: 2020/5/29 15:21
 * Description:
 * History:
 */
public class NitrCabinetEntity implements Serializable {
    private List<NitrCabList> LIST;
    private String BDNAME;
    private String LOCATION;

    public List<NitrCabList> getLIST() {
        return LIST == null ? new ArrayList<>() : LIST;
    }

    public void setLIST(List<NitrCabList> LIST) {
        this.LIST = LIST;
    }

    public String getBDNAME() {
        return StringUtils.isEmpty(BDNAME) ? "" : BDNAME;
    }

    public void setBDNAME(String BDNAME) {
        this.BDNAME = BDNAME;
    }

    public String getLOCATION() {
        return StringUtils.isEmpty(LOCATION) ? "" : LOCATION;
    }

    public void setLOCATION(String LOCATION) {
        this.LOCATION = LOCATION;
    }

    public static class NitrCabList implements Serializable{
        private String LOCATORID;
        private String MAINQTY;

        public String getLOCATORID() {
            return StringUtils.isEmpty(LOCATORID) ? "" : LOCATORID;
        }

        public void setLOCATORID(String LOCATORID) {
            this.LOCATORID = LOCATORID;
        }

        public String getMAINQTY() {
            return StringUtils.isEmpty(MAINQTY) ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }
    }
}
